package com.ruoyi.richEditor.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 富文本编辑对象 jy_rich_editor_attachment
 * 
 * @author chengliang
 * @date 2021-11-01
 */
public class RichEditorAttachment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 外表的键 */
    @Excel(name = "外表的键")
    private Long anyId;

    /** 标题 */
    @Excel(name = "标题")
    private String attTitle;

    /** 实际富文本内容 */
    @Excel(name = "实际富文本内容")
    private String attValue;

    /** 类型 */
    @Excel(name = "类型")
    private String attType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAnyId(Long anyId) 
    {
        this.anyId = anyId;
    }

    public Long getAnyId() 
    {
        return anyId;
    }
    public void setAttTitle(String attTitle) 
    {
        this.attTitle = attTitle;
    }

    public String getAttTitle() 
    {
        return attTitle;
    }
    public void setAttValue(String attValue) 
    {
        this.attValue = attValue;
    }

    public String getAttValue() 
    {
        return attValue;
    }
    public void setAttType(String attType) 
    {
        this.attType = attType;
    }

    public String getAttType() 
    {
        return attType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("anyId", getAnyId())
            .append("attTitle", getAttTitle())
            .append("attValue", getAttValue())
            .append("createTime", getCreateTime())
            .append("attType", getAttType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
